package com.appbee.media.client.presenter;

import javax.inject.Inject;

import com.appbee.core.client.place.NamedPlace;
import com.appbee.core.client.place.PlaceControl;
import com.google.gwt.activity.shared.AbstractActivity;

public abstract class AbstractMediaActivity extends AbstractActivity
{
	protected PlaceControl placeController;
	
	@Inject
	protected void setPlaceControl(PlaceControl placeControl)
	{
		this.placeController = placeControl;
	}
	
	public void goToUpload()
	{
		placeController.goTo(new NamedPlace("mediaupload"));
	}


}
